home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / graphics / pbm / pbm_man.zoo / man1 / ppmtopgm.1 < prev    next >
Text File  |  1994-08-27  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4. ppmtopgm(1)              USER COMMANDS                ppmtopgm(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      ppmtopgm - convert a portable pixmap into a portable graymap
  10.  
  11. SYNOPSIS
  12.      ppmtopgm [_✓p_✓p_✓m_✓f_✓i_✓l_✓e]
  13.  
  14. DESCRIPTION
  15.      Reads a portable pixmap as input.  Produces a portable gray-
  16.      map  as  output.   The quantization formula used is .299 r +
  17.      .587 g + .114 b.
  18.  
  19.      Note that although there is a _✓p_✓g_✓m_✓t_✓o_✓p_✓p_✓m program,  it  is  not
  20.      necessary  for  simple  conversions from _✓p_✓g_✓m to _✓p_✓p_✓m, because
  21.      any ppm program can read _✓p_✓g_✓m (and _✓p_✓b_✓m ) files automagically.
  22.      _✓p_✓g_✓m_✓t_✓o_✓p_✓p_✓m  is for colorizing a _✓p_✓g_✓m file.  Also, see _✓p_✓p_✓m_✓t_✓o_✓r_✓g_✓b_✓3
  23.      for a different way of converting color to gray.
  24.  
  25. QUOTE
  26.      Cold-hearted orb that rules the night
  27.      Removes the colors from our sight
  28.      Red is gray, and yellow white
  29.      But we decide which is right
  30.      And which is a quantization error.
  31.  
  32. SEE ALSO
  33.      pgmtoppm(1), ppmtorgb3(1), rgb3toppm(1), ppm(5), pgm(5)
  34.  
  35. AUTHOR
  36.      Copyright (C) 1989 by Jef Poskanzer.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sun Release 4.0   Last change: 23 December 1988                 1
  64.  
  65.  
  66.  
  67.